﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Kratos.Framework.ContentManagement.Models.Order
{
    public class Orders
    {
        [ScaffoldColumn(false)]
        public virtual int OrderId { get; set; }

        public virtual DateTime OrderDate { get; set; }

        public virtual decimal TotalAmount { get; set; }

        public virtual UserInfo User { get; set; }

        private IList<LineItem> _items;

        public virtual IList<LineItem> Items
        {
            get { return _items; }
        }

    }
}
